<template>
  <div>
    <uv-popup bgColor="none" zIndex="4" :customStyle="{marginBottom: '140rpx'}" closeable ref="popup" mode="bottom">
      <div class="p1755502809">
        <div class="p1755501707">费用明细</div>
        <div class="fac p1755502088 fz28 jcsb">
          <div class="fz28" style="color: #727171"> 基础配送费</div>
          <div class="fz32">¥ 12</div>
        </div>
        <div style="line-height: 1!important;color: #979898;" class="p1755502340 fac jcc">
          <div class="fz30">查看加价规则</div>
          <uv-icon style="line-height: 1!important;" name="arrow-right" size="32rpx" color="#C1C2C2"></uv-icon>
        </div>
      </div>
    </uv-popup>
    <div class="p1755235990">
      <div>
        <div class="fac">
          <div class="fz32" style="color: #333;">跑腿费</div>
          <div class="fac" style="color:#DE0012">
            <div class="fz28" style="">&nbsp;¥</div>
            <div style="font-size: 36rpx;">{{orderPrice}}</div>
          </div>
          <div class="p1755151820">
            <uv-icon @click="ckjgTap" name="arrow-up" color="#C1C2C2" size="12"></uv-icon>
          </div>
        </div>
        <div class="fz28" style="color:#333;">{{distance || 0}}公里内</div>
      </div>
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      distance: 0,
      orderPrice: 0

    }
  },
  methods: {
    ckjgTap() {
      this.$refs.popup.open()
    }
  },
}
</script>

<style lang="scss" scoped>
.fz28 {
  font-size: 28rpx;
}
.fz30 {
  font-size: 30rpx;
}
.fz32 {
  font-size: 32rpx;
}
.p1755502809 {
  background-color: #fff;
}
.p1755235990 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25rpx 30rpx;
  background-color: #fff;
  width: 100vw;
  bottom: 0;
  z-index: 5;
  box-sizing: border-box;
  position: relative;
}

.p1755151820 {
  width: 28rpx;
  min-height: 28rpx;
  border: 2rpx solid #c1c2c2;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10rpx;
  margin-top: 6rpx;
  
}

.p1755501707 {
  font-weight: bold;
  font-size: 38rpx;
  color: #333333;
  padding-top: 30rpx;
  padding-left: 30rpx;
}

.p1755502088 {
  padding: 30rpx;
  border-bottom: 2rpx solid #eff0f0;
}

.p1755502340 {
  padding-top: 30rpx;
  padding-bottom: 30rpx;
}
</style>